package com.info.zhiduoduo.repository.dto.maker;

import com.baomidou.mybatisplus.annotations.TableField;

import java.math.BigDecimal;
import java.util.Date;

import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

@Data
@AllArgsConstructor
@NoArgsConstructor
@Accessors(chain = true)
public class MakerAlipayPrincipalFlowDto {

	private Integer id;
	/**
	 * 订单编号
	 */
	@ApiModelProperty("订单编号")
	private String orderNo;
	/**
	 * 委托人主体id
	 */
	@ApiModelProperty("委托人主体id")
	private Integer principalId;

	@ApiModelProperty("委托人主体名称")
	private String principalName;
	/**
	 * 委托人资金记账本id, 支付宝系统的id
	 */
	@ApiModelProperty("委托人资金记账本id, 支付宝系统的id")
	@TableField("account_book_id")
	private String accountBookId;
	/**
	 * 业务类型 1:委托人给记账本充值 2:记账本资金冻结 3:转账到受托人记账本 4:受托人退款回委托人记账本
	 */
	@ApiModelProperty("业务类型 1:委托人给记账本充值 2:记账本资金冻结 3:转账到受托人记账本 4:受托人退款回委托人记账本")
	private Integer type;
	/**
	 * 流水金额
	 */
	@ApiModelProperty("流水金额")
	private BigDecimal amount;
	/**
	 * 操作前记账本余额
	 */
	@ApiModelProperty("操作前记账本余额")
	private BigDecimal prevAmount;
	/**
	 * 操作后记账本余额
	 */
	@ApiModelProperty("操作后记账本余额")
	private BigDecimal afterAmount;
	/**
	 * 操作前冻结余额
	 */
	@ApiModelProperty("操作前冻结余额")
	private BigDecimal prevFrozenAmount;
	/**
	 * 操作后冻结余额
	 */
	@ApiModelProperty("操作后冻结余额")
	private BigDecimal afterFrozenAmount;
	/**
	 * 流水备注
	 */
	@ApiModelProperty("流水备注")
	private String remark;
	/**
	 * 流水时间
	 */
	@ApiModelProperty("流水时间")
	private Date flowTime;
	/**
	 * 操作人id
	 */
	@ApiModelProperty("操作人id")
	private Integer adminid;
	@ApiModelProperty("操作人名称")
	private String adminName;

	@ApiModelProperty("实际发单企业名称")
	private String compname;

	@ApiModelProperty("项目类型")
	private Integer projectType;

	@ApiModelProperty("企业顾问")
	private String corporateConsultant;

	@ApiModelProperty("跟单员")
	private String merchandiserName;
}
